<%--
  User: yealove
  Date: 14-10-12
  Time: 下午4:31
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <c:import url="../common/include.jsp"/>
    <title>餐厅我来投</title>
</head>
<body>
<div class="container">
    <div class="row">
        <div class="col-xs-6 col-md-6 col-xs-offset-1">
            <div class="h3">投票：</div>
            <select class="form-control">
                <c:if test="${shops != null}">
                    <c:forEach items="${shops}" var="shop" varStatus="s">
                        <option id="${shop.id}">${shop.name}</option>
                    </c:forEach>
                </c:if>
                <c:if test="${shops == null}">
                    <option id="-1">无</option>
                </c:if>
            </select>
        </div>
    </div>
</div>
</body>
</html>